/*
 * @Author: delin66
 * @Date: 2024-12-10 14:49:56
 * @LastEditors: delin66
 * @LastEditTime: 2025-01-20 16:21:54
 * @Descripttion: 
 */
import request from "@/utils/request";

//获取奖项列表
export function getAwardList(params) {
  return request({
    url: "/kjy/enterprise-qualification-awards/list",
    method: "get",
    params: params,
  });
}
//新增获奖
export function addInfo(data) {
  return request({
    url: "/kjy/enterprise-qualification-awards/",
    method: "post",
    data: data,
  });
}
//修改获奖
export function updateInfo(data) {
  return request({
    url: "/kjy/enterprise-qualification-awards/",
    method: "put",
    data: data,
  });
}
// 删除获奖
export function delInfo(id) {
  return request({
    url: "/kjy/enterprise-qualification-awards/" + id,
    method: "delete",
  });
}

// 获取获奖类型
export function getAwardType() {
  return request({
    url: "/system/dict/data/type/sys_award_type",
    method: "get",
  });
}